[−][src]Crate mp4parse
Module for parsing ISO Base Media Format aka video/mp4 streams.
Structs
ALACSpecificBox | Represent an ALACSpecificBox 'alac' |
AV1ConfigBox | |
AssociatedProperty | For storing ItemPropertiesBox data See HEIF (ISO 23008-12:2017) § 9.3.1 |
AudioSampleEntry | |
AuxiliaryTypeProperty | See HEIF (ISO 23008-12:2017) § 6.5.8 |
AvifContext | |
ChunkOffsetBox | |
CompositionOffsetBox | |
ES_Descriptor | An Elementary Stream Descriptor See MPEG-4 Systems (ISO 14496-1:2010) § 7.2.6.5 |
FLACMetadataBlock | |
FLACSpecificBox | Represents a FLACSpecificBox 'dfLa' |
Matrix | |
MediaContext | Internal data structures. |
MediaScaledTime | A time to be scaled by the media's global (mvhd) timescale. |
MediaTimeScale | The media's global (mvhd) timescale in units per second. |
MetadataBox | Represents the contents of 'ilst' atoms within a metadata box 'meta', parsed as iTunes metadata using the conventional tags. |
MovieExtendsBox | |
OpusSpecificBox | Represent an OpusSpecificBox 'dOps' |
ProtectionSchemeInfoBox | |
ProtectionSystemSpecificHeaderBox | |
Sample | |
SampleDescriptionBox | |
SampleSizeBox | |
SampleToChunk | |
SampleToChunkBox | |
SchemeTypeBox | |
SyncSampleBox | |
TimeOffset | |
TimeToSampleBox | |
Track | |
TrackEncryptionBox | |
TrackHeaderBox | Track header box 'tkhd' |
TrackScaledTime | A time to be scaled by the track's local (mdhd) timescale. Members are time in scale units and the track id. |
TrackTimeScale | The track's local (mdhd) timescale. Members are timescale units per second and the track id. |
UserdataBox | Represents a userdata box 'udta'. Currently, only the metadata atom 'meta' is parsed. |
VPxConfigBox | Represent a Video Partition Codec Configuration 'vpcC' box (aka vp9). The meaning of each field is covered in detail in "VP Codec ISO Media File Format Binding". |
VideoSampleEntry |
Enums
AdvisoryRating | Represents the parental advisory rating on the track, stored within the 'rtng' atom. |
AudioCodecSpecific | |
CodecType | |
Error | Describes parser failures. |
Genre | Represents possible contents of the ©gen or gnre atoms within a metadata box. 'udta.meta.ilst' may only have either a standard genre box 'gnre' or a custom genre box '©gen', but never both at once. |
ItemProperty | See HEIF (ISO 23008-12:2017) § 9.3.1 |
MediaType | Represents the contents of a 'stik' atom that indicates content types within iTunes. |
SampleEntry | |
TimeOffsetVersion | |
TrackType | |
VideoCodecSpecific |
Traits
ToUsize | A trait to indicate a type can be infallibly converted to |
Functions
read_avif | Read the contents of an AVIF file |
read_mp4 | Read the contents of a box, including sub boxes. |
serialize_opus_header | Re-serialize the Opus codec-specific config data as an |
Type Definitions
ByteData | |
Result | Result shorthand using our Error enum. |
TryBox | |
TryHashMap | |
TryString | |
TryVec |